const AxiosCom = () => import("@/components/axios/index.vue");
const BaseCom = () => import("@/components/base/index.vue");
const SaveCom = () => import("@/components/save/index.vue");
const EventCom = () => import("@/components/event/index.vue");
const selfPalette = () => import("@/components/self-palette/index.vue");
const selfPalette2 = () =>
  import("@/components/self-palette/custom-modeler.vue");
const selfContextPad = () => import("@/components/self-contextpad/index.vue");
const selfContextPad2 = () =>
  import("@/components/self-contextpad/custom-modeler.vue");
const selfPropertiesPanel = () =>
  import("@/components/self_properties-pande/index.vue");
const MyBpmn = () => import("@/components/MyBpmn/index.vue");

export const routesInfo = [
  // {
  //   path: "/",
  //   name: "BaseCom",
  //   label: "基础bpmn",
  //   component: BaseCom,
  // },
  {
    path: "/",
    name: "MyBpmn",
    component: MyBpmn,
    label: "自定义Bpmn",
  },
  {
    path: "/axios",
    name: "AxiosCom",
    label: "通过网络请求 bpmn 并渲染",
    component: AxiosCom,
  },
  {
    path: "/save",
    name: "SaveCom",
    label: "保存bpmn并发送到后台",
    component: SaveCom,
  },
  {
    path: "/event",
    name: "EventCom",
    label: "绑定事件",
    component: EventCom,
  },
  {
    path: "/self-palette",
    name: "selfPalette",
    component: selfPalette,
    label: "自定义 Palette",
  },
  {
    path: "/self-palette2",
    name: "selfPalette2",
    component: selfPalette2,
    label: "完全自定义 Palette",
  },
  {
    path: "/self-contextPad",
    name: "selfcontextPad",
    component: selfContextPad,
    label: "自定义contextPad",
  },
  {
    path: "/self-contextPad2",
    name: "selfcontextPad2",
    component: selfContextPad2,
    label: "完全定义contextPad",
  },
  {
    path: "/self-properties-panel",
    name: "selfPropertiesPanel",
    component: selfPropertiesPanel,
    label: "自定义属性列表",
  },
  {
    path: "/my-bpmn",
    name: "myBpmn",
    component: MyBpmn,
    label: "自定义Bpmn",
  },
];
